package com.swj.common.core.model;


import com.baomidou.mybatisplus.annotation.TableName;
import com.swj.common.core.model.web.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @Description 权限实体
 * @Author Sans
 * @CreateTime 2019/6/14 15:57
 */
@Data
@TableName("sys_menu")
@EqualsAndHashCode(callSuper = true)
public class SysMenu extends BaseEntity {


    /**
     * 权限名称
     */
    private String name;

    /**
     * 权限标识
     */
    private String perms;

    /**
     * 子菜单
     */
    private List<SysMenu> children;

}
